package com.yantong.mapper;

import com.yantong.pojo.TicketRecordUse;
import com.yantong.pojo.TicketRecordUseExample;
import com.yantong.pojo.vo.StoreVerifyStatsVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface TicketRecordUseMapper {
    long countByExample(TicketRecordUseExample example);

    int deleteByExample(TicketRecordUseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TicketRecordUse record);

    int insertSelective(TicketRecordUse record);

    List<TicketRecordUse> selectByExample(TicketRecordUseExample example);

    TicketRecordUse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TicketRecordUse record, @Param("example") TicketRecordUseExample example);

    int updateByExample(@Param("record") TicketRecordUse record, @Param("example") TicketRecordUseExample example);

    int updateByPrimaryKeySelective(TicketRecordUse record);

    int updateByPrimaryKey(TicketRecordUse record);

    int countByParams(Map<String, Object> params);

    List<TicketRecordUse> listByParams(Map<String, Object> params, RowBounds rowBounds);

    List<StoreVerifyStatsVo> getStoreVerifyStats(Long teamId);

    List<StoreVerifyStatsVo> getStoreVerifyStatsDetail(Map map);
}